Swing works with a pluggable look-and-feel plaf architecture . developers needn t hard-code settings like color and font for the different components; instead, the components request these settings from the user interface manager 開(kāi)發(fā)者不必針對(duì)不同組件為顏色和字體之類(lèi)的設(shè)置進(jìn)行硬編碼;取而代之的是,組件將從用戶(hù)界面管理器(userinterface(ui)manager)請(qǐng)求這些設(shè)置。